docs: Remove mentions of <accelerator>
authorMatthias Clasen <mclasen@redhat.com>
Thu, 3 Dec 2020 00:59:44 +0000 (19:59 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 3 Dec 2020 00:59:44 +0000 (19:59 -0500)
That is no longer supported, keyboard shortcuts
are done with GtkShortcut now.

Fixes: #3429
gtk/gtkbuildable.h
gtk/gtkwidget.c

index 058845caba5c34b1936caab09f932ef1b3e60934..b446b570b9f45b44b964cdba6ef4972a76072943 100644 (file)
@@ -110,8 +110,8 @@ struct _GtkBuildableParser
  * @custom_tag_start: Implement this if the buildable needs to parse
  *  content below <child>. To handle an element, the implementation
  *  must fill in the @parser and @user_data and return %TRUE.
- *  #GtkWidget implements this to parse keyboard accelerators specified
- *  in <accelerator> elements.
+ *  #GtkWidget implements this to parse accessible attributes specified
+ *  in <accessibility> elements.
  *  Note that @user_data must be freed in @custom_tag_end or @custom_finished.
  * @custom_tag_end: Called for the end tag of each custom element that is
  *  handled by the buildable (see @custom_tag_start).
index f649acfe7465e0ae6b6825aa5f4af98bfe6dd186..ab9de00cd23d4a4cbb89496f122fc94e37e491ed 100644 (file)
  * # GtkWidget as GtkBuildable
  *
  * The GtkWidget implementation of the #GtkBuildable interface supports a
- * custom `<accelerator>` element, which has attributes named ”key”, ”modifiers”
- * and ”signal” and allows to specify accelerators.
- *
- * An example of a UI definition fragment specifying an accelerator:
- * |[
- * <object class="GtkButton">
- *   <accelerator key="q" modifiers="GDK_CONTROL_MASK" signal="clicked"/>
- * </object>
- * ]|
+ * custom elements to specify various aspects of widgets that are not
+ * directly expressed as properties.
  *
  * If the parent widget uses a #GtkLayoutManager, #GtkWidget supports a
  * custom `<layout>` element, used to define layout properties: